#include "invenparams.h"

//Used By UHF Reader
InvenParams::InvenParams(const int max_bytes_size)
{
    m_sel = new SELECTION(max_bytes_size);
    m_metaFlags = new META_FLAGS();
    m_read = new INVEN_READ();
    m_write = new EMBEDDED_WRITE(max_bytes_size);
    m_lock = new EMBEDDED_Lock();
    m_accessPwd=0;
    m_killPwd=0;
    m_timeout =5000;
}
InvenParams::~InvenParams()
{
    if(m_sel != NULL)
    {
        delete m_sel;
        delete m_metaFlags;
        delete m_read;
        delete m_write;
        delete m_lock;
        m_sel=NULL;
    }

}
